using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace HDS.Model.Entity.Sys
{
    /// <summary>
    /// 用户角色 
    /// </summary>
    [SugarTable("sys_user_role")]
    public class SysUserRole
    {

        /// <summary>
        /// ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        public int Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        [SugarColumn(ColumnName = "user_id")]
        public int UserId { get; set; }

        /// <summary>
        /// 角色id
        /// </summary>
        [SugarColumn(ColumnName = "role_id")]
        public int RoleId { get; set; }

    }
}
